package com.erp.erp_servers.Purchase;

import com.erp.erp_entitys.Blueprint.BlueprintFileEntity;
import com.erp.erp_entitys.Purchase.PurchaseFile;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface IPurchaseFileService {
    int deleteByPrimaryKey(Integer id);

    int insert(PurchaseFile record);

    int insertSelective(PurchaseFile record);

    PurchaseFile selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PurchaseFile record);

    int updateByPrimaryKey(PurchaseFile record);

    List<PurchaseFile> selectFileByPuId(Integer puId);

    int deleteByIdList(@Param("idList") List<Integer> idList);

    List<BlueprintFileEntity> selectBlueprintFileByCode(Map<String,String> map);
}